package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Examination;

import java.util.List;

public interface ExaminationService {

    /**
     * 分页查询所有或条件查询体检预约信息
     */
    public PageResult findPageOrCondition(QueryPageBean queryPageBean);


    /**
     * 添加体检预约信息
     * @param examination
     */
    public void add(Examination examination);

    /**
     * 更新体检信息
     */
    public void updateExamination(Examination examination);

    /**
     * 根据体检预约id删除体检预约信息
     */
    public void deleteExaminationById(int id);

    /**
     * 根据体检预约id查询体检预约信息
     */
    public Examination findExaminationById(Integer id);


    List<Examination> getExaminationReportByTelephone(String telephone);
}
